package com.greensam.pixelengine.pojo.vo.spaceuser.request;

import com.greensam.pixelengine.pojo.base.BaseDto;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;

/**
 * @author Ma Chengrui
 * @since 2025/9/22 14:41
 */
@Getter
@Setter
@Schema(description = "添加空间成员请求参数")
public class SpaceUserEditRequest extends BaseDto {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(title = "空间成员id")
    @NotNull(message = "空间成员id不能为空")
    private Long userId;

    @Schema(title = "空间角色")
    @NotNull(message = "空间角色不能为空")
    private Long roleId;

}
